import request from "../utils/request";

/** 获取机器人列表 */
export function fetchList(params) {
  return request({
    url: "/robot-archives/v1/getRobotAndCompany",
    method: "get",
    params: params,
  });
}

/** 获取小球心跳数据 */
export function getRobotData(params) {
  return request({
    url: "/robot-sphere-log/v1/list",
    method: "get",
    params: params,
  });
}
